/*
 * @Author: sunshiynog
 * @Date: 2024-04-18 15:18:43
 * @LastEditTime: 2024-04-20 15:31:27
 * @LastEditors: sunshiynog
 * @Description: 
 */

module.exports = {
  // 智能预设：能够编译ES6语法
  presets: [
    [
      "@babel/preset-env",
      // 按需加载core-js的polyfill
      { useBuiltIns: "usage", corejs: { version: "3", proposals: true } },
    ],
  ],
};